package org.spring.boot.rabbitmq.dto;

import java.io.Serializable;
import java.util.Date;

public class KaasEvent implements Serializable {

	private static final long serialVersionUID = 1L;

	private OperationType operationType = OperationType.INSERT;
	private String subOperationType = "";
	private long recordId;
	private String eventId;
	private String title;
	private int severity;
	private int clearTag;
	private String clearUser;
	private Date clearTime;
	private String descr;
	private Date occurTime;
	private String deviceId;
	private String deviceName;
	private String deviceAlias;
	private String deviceType;
	private String deviceVendor;
	private String deviceCity;

	public OperationType getOperationType() {
		return operationType;
	}

	public void setOperationType(OperationType operationType) {
		this.operationType = operationType;
	}

	public String getSubOperationType() {
		return subOperationType;
	}

	public void setSubOperationType(String subOperationType) {
		this.subOperationType = subOperationType;
	}

	public long getRecordId() {
		return recordId;
	}

	public void setRecordId(long recordId) {
		this.recordId = recordId;
	}

	public String getEventId() {
		return eventId;
	}

	public void setEventId(String eventId) {
		this.eventId = eventId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getSeverity() {
		return severity;
	}

	public void setSeverity(int severity) {
		this.severity = severity;
	}

	public int getClearTag() {
		return clearTag;
	}

	public void setClearTag(int clearTag) {
		this.clearTag = clearTag;
	}

	public String getClearUser() {
		return clearUser;
	}

	public void setClearUser(String clearUser) {
		this.clearUser = clearUser;
	}

	public Date getClearTime() {
		return clearTime;
	}

	public void setClearTime(Date clearTime) {
		this.clearTime = clearTime;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public Date getOccurTime() {
		return occurTime;
	}

	public void setOccurTime(Date occurTime) {
		this.occurTime = occurTime;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getDeviceAlias() {
		return deviceAlias;
	}

	public void setDeviceAlias(String deviceAlias) {
		this.deviceAlias = deviceAlias;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getDeviceVendor() {
		return deviceVendor;
	}

	public void setDeviceVendor(String deviceVendor) {
		this.deviceVendor = deviceVendor;
	}

	public String getDeviceCity() {
		return deviceCity;
	}

	public void setDeviceCity(String deviceCity) {
		this.deviceCity = deviceCity;
	}

	@Override
	public String toString() {
		return "KaasEvent{" + "operationType=" + operationType + ", subOperationType='" + subOperationType + '\'' + ", recordId=" + recordId + ", eventId='" + eventId + '\'' + ", title='" + title + '\'' + ", severity=" + severity + ", clearTag=" + clearTag + ", clearUser='" + clearUser + '\'' + ", clearTime=" + clearTime + ", descr='" + descr + '\'' + ", occurTime=" + occurTime + ", deviceId='" + deviceId + '\'' + ", deviceName='" + deviceName + '\'' + ", deviceAlias='" + deviceAlias + '\'' + ", deviceType='" + deviceType + '\'' + ", deviceVendor='" + deviceVendor + '\'' + ", deviceCity='" + deviceCity + '\'' + '}';
	}
}